package com.ylr.base.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-04-21 17:47:57
 * className: MqEnum 消息队列枚举类
 * version: 1.0
 * description:
 */
@Getter
@AllArgsConstructor
public enum MqEnum {

    // 请求日志记录
    LOG("log.direct", "log.queue", "log.routingKey"),
    // 发布博客
    PUBLISH_BLOG("publish.blog.direct", "publish.blog.queue", "publish.blog.routingKey"),
    ;

    /**
     * 交换机
     */
    private final String exchange;
    /**
     * 消息队列
     */
    private final String queue;
    /**
     * 路由键
     */
    private final String routingKey;

}
